package com.sumainfor.pc.gmio.controller.secretary;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.common.utlis.Pager;
import com.sumainfor.pc.gmio.service.SeChargesService;
import com.sumainfor.pc.gmio.service.SePaymentHistoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * 服务秘书 业主水电燃账单
 */
@RestController
@RequestMapping("/secretary/SePaymentHistory")
public class SePaymentHistoryController implements Serializable {
    @Autowired
    private SePaymentHistoryService sePaymentHistoryService;

    /**
     * 查询账单列表
     * @param params
     * @return
     */
    @GetMapping("/getPayInfoList")
    public JsonResult getPayInfoList(@RequestParam Map<String,Object>params){
        System.out.println("运营部接受参数:"+params);
        return sePaymentHistoryService.getPayInfoList(params);
    }


}
